package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.domain.entity.SubjectCategoryBO;
import com.jingdianjichi.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @author bug制作者
 * @version 1.0
 * @description: TODO
 * @date 2025/7/5 16:10
 */
@Mapper
public interface SubjectCategoryBOConverter {
    SubjectCategoryBOConverter INSTANCE = Mappers.getMapper(SubjectCategoryBOConverter.class);
    SubjectCategory convertBoToCategory(SubjectCategoryBO subjectCategoryBo);
    List<SubjectCategoryBO> convertCategoryListToCategoryBOList(List<SubjectCategory> subjectCategoryList);
}
